# -*- coding: utf-8 -*-
# standard
import os
import sys
from datetime import datetime
import importlib
import inspect
from fastapi import FastAPI


# third

# local
_P_PATH =  os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
if _P_PATH not in sys.path:
    sys.path.append(_P_PATH)
from toolbox.common_tools import import_all


"""
@Title:   
@File: __init__.py
@Author: walle 2025年05月22日 15时21分21秒
@Version: 1.0.0
@Desc: 
"""


def import_views(app: FastAPI):
    """
    导入所有视图
    :param app: _description_
    """
    import_all(package=os.path.basename(os.path.dirname(__file__)), app=app)



if __name__ == '__main__':
    pass